package File;

import java.io.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Ap0stoL2
 * Date: 2023-08-07
 * Time: 21:14
 */
//测试outputStream
public class test4 {
    public static void main(String[] args) throws IOException {

        OutputStream os = new FileOutputStream("d:/test.txt");
        //以utf-8的编码写入
        try (OutputStreamWriter outputStreamWriter = new OutputStreamWriter(os,"utf-8")) {

        }

    }
}
